package com.itheima.health.dao;

import com.itheima.health.pojo.ExaminationReport;
import org.apache.ibatis.annotations.Param;

/**
 * @Author ： ZAG WELL
 * @Date : 2020/12/7
 */
public interface ExaminationReportDao {
    /**
     * 通过orderid获取当前检查报告信息
     * @param id
     * @return
     */
    ExaminationReport getExaminationReport(Integer id);

    /**
     * 更新体检报告医嘱
     * @param advice
     * @param orderId
     * @param checkItemId
     */
    void updateExaminationReport(@Param("advice") String advice, @Param("orderId") Integer orderId, @Param("checkItemId") Integer checkItemId);
}
